package com.lbs.jiepiaisi.bean;

import com.lbs.jiepiaisi.base.BaseResponseEntity;

import java.io.Serializable;
import java.util.List;

/**
 *
 * 时间：2017/8/28 16:39
 * 作用：单车历史经纬度对象
 */

public class HistoryTraceBean extends BaseResponseEntity {
    //当前状态
    //private int code;
    //对应的总result信息(JSONArrary)
    public List<HistoryTraceBean.Result> result;

    public List<HistoryTraceBean.Result> getResult() {
        return result;
    }

    public void setResult(List<HistoryTraceBean.Result> result) {
        this.result = result;
    }

//    public int getCode() {
//        return code;
//    }
//    public void setCode(int code) {
//        this.code = code;
//    }
    //对应的总result中单个result信息(JSONObject)
    public static class Result implements Serializable {
        //经度
        private double gdLng;
        //维度
        private double gdLat;
        //时间
        private String positionTime;
        //速度
        private String speed;
        //角度
        private float rotate;
        //定位类型
        private String postType;
        //状态
        private String satatus;

        public String getSatatus() {
            return satatus;
        }
        public void setSatatus(String satatus) {
            this.satatus = satatus;
        }

        public String getPostType() {
            return postType;
        }
        public void setPostType(String postType) {
            this.postType = postType;
        }

        public String getSpeed() {
            return speed;
        }
        public void setSpeed(String speed) {
            this.speed = speed;
        }

        public String getPositionTime() {
            return positionTime;
        }
        public void setPositionTime(String positionTime) {
            this.positionTime = positionTime;
        }

        public double getGdLng() {
            return gdLng;
        }
        public void setGdLng(double gdLng) {
            this.gdLng = gdLng;
        }

        public double getGdLat() {
            return gdLat;
        }
        public void setGdLat(double gdLat) {
            this.gdLat = gdLat;
        }

        public float getRotate() {
            return rotate;
        }
        public void setRotate(float rotate) {
            this.rotate = rotate;
        }
    }


}
